package com.myslef.teaching_platfrom.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.myslef.teaching_platfrom.domain.studentTak.StudentTask;
import com.myslef.teaching_platfrom.domain.studentTak.StudentTaskR;
import com.myslef.teaching_platfrom.domain.task.TaskR;
import com.myslef.teaching_platfrom.mapper.StudentTaskMapper;
import com.myslef.teaching_platfrom.service.StudentTaskService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class StudentTaskServiceImpl extends ServiceImpl<StudentTaskMapper, StudentTask> implements StudentTaskService {
    public List<TaskR> getTaskLists(Integer classId, Integer studentId){
        return baseMapper.getTaskLists(classId,studentId);
    }
//    public List<StudentTask> getStudentTaskList(Integer taskId,Integer courseId){
//        return baseMapper.getStudentTaskList(taskId,courseId);
//    }
    public List<StudentTaskR> getStudentTaskList(Integer taskId, Integer courseId){
        return baseMapper.getStudentTaskList(taskId,courseId);
    }




}
